//
//  NSArray+CNBoundsCheck.m
//  CsdnPlus
//
//  Created by 孟瑞瑞 on 2018/5/31.
//  Copyright © 2018年 CSDN. All rights reserved.
//

#import "NSArray+CNBoundsCheck.h"

@implementation NSArray (CNBoundsCheck)

- (id)cn_objectAtIndex:(NSUInteger)index
{
    if(index<self.count){
        return self[index];
    }else{
        return nil;
    }
}

@end
